<!doctype html>
<html>
<head>
<meta charset="utf-8"/>
<title>{$head[title]}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta content="{$head[keywords]}" name="keywords" />
<meta content="{$head[description]}" name="description" />
<base href="{SITE_URL}" />
<link href="favicon.ico" rel="shortcut icon" />
<link href="skin/style.css" rel="stylesheet" type="text/css" />
<link rel="alternate" type="application/rss+xml" title="{$head[title]}" href="/rss.php?rssid={$catid}" />
<script language="JavaScript" src="misc/config.js"></script>
<script language="JavaScript" src="misc/jquery.min.js"></script>
<script language="JavaScript" src="misc/common.js"></script>
<script language="JavaScript" src="misc/validator.js"></script>
</head>
<body>

{template 'header.html'}

<div class="container">
    <div class="aside">
        {template "left.html",'yellowpage'}
    </div>
    
    <div class="main">
    	
        
    	  
        <ul class="nav nav-tabs">
              <li {if $action=='edit'}class="active"{/if}><a href="{url("?module=$module&file=$file&action=edit&userid=$_userid")}">详细资料</a></li>
              <li {if $action=='basic'}class="active"{/if}><a href="{url("?module=$module&file=$file&action=basic&userid=$_userid")}">基本资料</a></li>
            </ul>
       
        <form action="" method="post" name="myform"  enctype="multipart/form-data" >
        <table cellpadding="0" cellspacing="1" class="" > 
            <tr><th width="20%">  <strong>公司Logo：</strong></th>
            <td><input type="text" name="logo" id="logo" size="50" value="{$company_user_infos[logo]}" onClick="$('#logo_div').css('display','')" onBlur="$('#logo_div').css('display','none')"> <input type="button" name="logo_upimage" id="logo_upimage" value="上传图片" style="width:60px" onClick="javascript:openwinx('?module=upload&uploadtext=logo','upload','450','350')">
            <div id='logo_div' style='background-color: #fff;border:#006699 solid 1px;position:absolute;z-index:10;padding:5px;display:none;'>
            <img src="{$company_user_infos[logo]}"></div>
            <div id='banner_div' style='background-color: #fff;border:#006699 solid 1px;position:absolute;z-index:10;padding:5px;display:none;right:0px;'>
            <img src="{if $company_user_infos[banner]}{$company_user_infos[banner]}{else}yp/images/banner.jpg{/if}"></div>
            
            </td>
            </tr>
            <tr>
        <th width="20%"><strong>Banner：</strong></th>
        <td><input type="text" name="banner" id="banner" size="50" value="{$company_user_infos[banner]}" onClick="$('#banner_div').css('display','')" onBlur="$('#banner_div').css('display','none')"> <input type="button" name="thumb_upimage" id="thumb_upimage" value="上传图片" style="width:60px" onClick="javascript:openwinx('?module=upload&uploadtext=banner','upload','450','350')"/> 留空则显示默认</td>
        </tr>
            <tr><th width="20%">  <strong>联系人：</strong></th>
            <td><input name="linkman" type="text" size="15" value="{$company_user_infos[linkman]}"></td>
            </tr>
            <tr><th width="20%">  <strong>Email：</strong></th>
            <td><input name="email" type="text" size="30" value="{$company_user_infos[email]}"></td>
            </tr>
            <tr><th width="20%">  <strong>联系电话：</strong></th>
            <td><input name="telephone" type="text" size="15" value="{$company_user_infos[telephone]}"></td>
            </tr>
            <tr><th width="20%">  <strong>公司简介：</strong></th>
            <td>
        <textarea name="introduce" id="introduce" style="display:none">{$company_user_infos[introduce]}</textarea>
            {form::editor('introduce','basic','100%',200,0)}
        </td>
            </tr>
            <tr> 
              <td></td>
              <td> 
              <input type="hidden" name="forward" value="{$forward}"> 
              <input type="submit" name="dosubmit" value=" 确定修改 "> 
              </td>
            </tr>
        </table>
        </form>
      
    </div>
    
</div>



 
{template 'footer.html'}
<SCRIPT LANGUAGE="JavaScript">
<!--
$().ready(function() {
  $('form').checkForm(1);
});
//-->
</SCRIPT>

<script type="text/javascript" src="images/js/validator.js"></script>